package daemon

import (
	"github.com/xiaoqinghong/super_daemon/core/process"
	"github.com/xiaoqinghong/super_daemon/core/program"
)

type IDaemon interface {
	ExecProgram(program program.IProgram) error
	ExecProcess(process process.IProcess) error
	StopProcess(process process.IProcess) error
	RestartProcess(process process.IProcess) error
	GetProcess(name string) process.IProcess
	List() []process.Info
}
